<form name="form" action="?module=backoffice&action=AjaxSaveBlockParams" method="post" class="nyroModal">
{include file="$MODULES_DIR/backoffice/templates/block/modal/ModalTitle.html" title=$blockParams.blockLabel}
    <div id="modalContent">
	<div class="blockParamsSubmit">
		<input type="hidden" value="{$blockParams.blockId}" name="form[blockId]"/>
		<input type="hidden" value="{$blockParams.pageId}" name="form[pageId]"/>
		<input type="hidden" value="{$blockParams.pageLang}" name="form[pageLang]"/>
	</div>
	<table class="listTable">
        <tr>
            <th colspan ="2">{t}General options{/t}</th>
        </tr>
		<tr>
            <td>{t}Twitter user{/t}</td>
            <td>
                http://twitter.com/<input type="text" name="form[user]" class="medium" value="{if isset($blockParams.user)}{$blockParams.user}{/if}"/>
            </td>
		</tr>
		<tr>
            <td>{t}Items number{/t}</td>
            <td>
                <select name="form[itemsNumber]">
                    {section name=rssitems start=1 loop=11 step=1}
                    <option value="{$smarty.section.rssitems.index}"{if $blockParams.itemsNumber == $smarty.section.rssitems.index} selected="selected"{/if}>{$smarty.section.rssitems.index}</option>
                    {/section}
                </select>
            </td>
		</tr>
        <tr>
            <th colspan ="2">{t}Display options{/t}</th>
        </tr>
		<tr>
            <td>{t}Display feed title{/t}</td>
            <td>
                <select name="form[displayFeedTitle]">
                    <option value="0">{t}No{/t}</option>
                    <option value="1"{if $blockParams.displayFeedTitle} selected="selected"{/if}>{t}Yes{/t}</option>
                </select>
            </td>
		</tr>
		<tr>
            <td>{t}Display feed description{/t}</td>
            <td>
                <select name="form[displayFeedDescription]">
                    <option value="0">{t}No{/t}</option>
                    <option value="1"{if $blockParams.displayFeedDescription} selected="selected"{/if}>{t}Yes{/t}</option>
                </select>
            </td>
		</tr>
		<tr>
            <td>{t}Display item date{/t}</td>
            <td>
                <select name="form[displayFeedItemsPubDate]">
                    <option value="0">{t}No{/t}</option>
                    <option value="1"{if $blockParams.displayFeedItemsPubDate} selected="selected"{/if}>{t}Yes{/t}</option>
                </select>
            </td>
		</tr>
	</table>
    </div>
{include file="$MODULES_DIR/backoffice/templates/block/modal/ModalFooter.html"}
</form>